
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%><!DOCTYPE html>
<html>
<head>
<title>regist</title>
<meta charset="utf-8">
<link href="css/regist-style.css" rel='stylesheet' type='text/css' />
<meta name="viewport" content="width=device-width, initial-scale=1">
<!--//webfonts-->
<style type="text/css">
.info {
	float: left;
	width: 50%;
}

.font {
	width: 50px;
}
td{
font-size: 14px;
margin-top:10px;
margin: 5px;
margin-left: 10px;
top: 10px;
}
tr{
top: 10px;
margin:10px;
}
</style>
</head>
<body>
	<!-----start-main---->
	<div class="main">
		<div class="regist-form">
			<h1>人事档案管理系统用户注册</h1>
			<div class="head" style="top: -15%;
	left: 45%;">
				<img src="images/user.png" alt="" />
			</div>

			<form action="userAdd" name="add" method="post" enctype="multipart/form-data">
				<div style="font-size: 18px;">
					<b>系统账号信息</b>
				</div>
				<div style="height: 20px;"></div>
				<div style="font-size: 14px;">
					email： <input type="text" name="user.userName" /><span
						style="color: red;">*</span>
				</div>
				<div style="font-size: 14px;">
					密&nbsp;码 <input type="password" name="user.userPassword"><span
						style="color: red;">*</span>
				</div>
				<div style="font-size: 14px;">
					确认密码<input type="password" name="rePwd">
				</div>

				<div style="font-size: 18px;">
					<b>员工基本信息</b>
				</div>
				<div style="height: 20px;"></div>
				<table>
					<tr>
					<td>所属部门：</td>
					<td>
					
					<select name="user.departId">
					<s:iterator value="deptList" var="dl">
					<option value="${dl.deptId}">${dl.deptName}</option>
					</s:iterator>
					</select></td>
						<td>性别：</td>
						<td><input type="radio" name="user.gender" value="1" />男 <input
							type="radio" name="user.gender" value="0" />女</td>
					
					</tr>
					<tr>
					<td style="height: 10px;"></td>
					</tr>
					<tr>
						<td><span class="font">姓&nbsp;名：</span></td>
						<td><input type="text" name="user.empName"></td>
						<td><span class="font">员工编号：</span></td>
						<td><input type="text" name="user.mpcode"></td>
					</tr>
					<tr>
						<td><span class="font">身份证号：</span></td>
						<td><input type="text" name="user.idcard"></td>
						
						
						<td><span class="font">籍&nbsp;贯：</span></td>
						<td><input type="text" name="user.userNative" /></td>
					</tr>
					<tr>
						<td>民&nbsp;族：</td>
						<td><input type="text" name="user.nation" />
						</td>
						<td></td>
						<td></td>
					</tr>
				</table>
				
				<div style="table-layout: auto;">
					<span>相&nbsp;片：</span>
					<s:file name="picture"  /> <s:fielderror
						fieldName="picture"></s:fielderror>
				
				</div>
				<div style="height: 30px;"></div>
				<div><p style="color: red;">${message}</p></div>
				<div>
					<input type="submit" value="提交">
					<input type="reset" value="重置">
				</div>
			</form>
		</div>
		<!--//End-login-form-->
		<!-----start-copyright---->
		<div class="copy-right">
			<p>
				版权所有 <a href="http://w3layouts.com">WYQ</a>
			</p>
		</div>
		<!-----//end-copyright---->
	</div>
	<!-----//end-main---->

</body>
</html>